home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / wildcat / qfw_119.zip / START.CTL < prev    next >
Text File  |  1995-09-12  |  2KB  |  88 lines

  1. @Echo off
  2. Cls
  3.  
  4. Rem *** START@QFRONTNODE.BAT batch file for node @QFRONTNODE ***
  5.  
  6. Set WCNODEID=@QFRONTNODE
  7.  
  8. :Start
  9.  
  10. @Echo off
  11. Cls
  12.  
  13. Echo Loading QFront/WC, please wait...
  14.  
  15. @QFRONTDRIVE
  16. CD @QFRONTPATH
  17.  
  18. QFront /C@QFRONTDRIVE@QFRONTPATH\NODE@QFRONTNODE
  19.  
  20. @DRIVE
  21. CD @PATH
  22.  
  23. Rem *** NOTES ON LOADING WILDCAT! ***
  24.  
  25. Rem When a human caller comes in or the sysop wants to log on
  26. Rem locally, QFront creates a BBS-xxxx.BAT file with information
  27. Rem such as baud rate, etc. in it.  The BBS-xxxx.BAT file simply
  28. Rem loads the SPAWNBBS.BAT file which then loads Wildcat!
  29. Rem See the SPAWNBBS.BAT file for more information.
  30.  
  31. if exist @DRIVE@PATH\BBS-@QFRONTNODE.BAT goto LoadBBS
  32. if errorlevel 20 goto makewild
  33. if errorlevel 19 goto restart
  34. if errorlevel 18 goto restart
  35. if errorlevel 17 goto restart
  36. if errorlevel 16 goto restart
  37. if errorlevel 15 goto restart
  38. if errorlevel 14 goto restart
  39. if errorlevel 13 goto restart
  40. if errorlevel 12 goto restart
  41. if errorlevel 11 goto restart
  42. if errorlevel 10 goto restart
  43. if errorlevel 9 goto faxcall
  44. if errorlevel 8 goto tossfido
  45. if errorlevel 7 goto restart
  46. if errorlevel 6 goto restart
  47. if errorlevel 5 goto restart
  48. if errorlevel 4 goto restart
  49. if errorlevel 3 goto restart
  50. if errorlevel 2 goto runevent
  51. if errorlevel 1 goto error
  52. if errorlevel 0 goto end
  53.  
  54. :LoadBBS
  55. @DRIVE
  56. CD @PATH
  57. BBS-@QFRONTNODE.BAT
  58.  
  59. :Makewild
  60. @DRIVE
  61. CD @PATH
  62. MAKEWILD
  63. Goto Start
  64.  
  65. :RunEvent
  66. QEVT-@QFRONTNODE.BAT
  67. Goto Start
  68.  
  69. :TossFido
  70. @QFRONTDRIVE
  71. CD @QFRONTPATH
  72. QScan /C@QFRONTDRIVE@QFRONTPATH\NODE@QFRONTNODE /BOTH
  73. Goto Start
  74.  
  75. :FaxCall
  76. C:
  77. CD \BGFAX
  78. BGFAX /FCO C:\BGFAX 1 Q
  79. Goto Start
  80.  
  81. :Restart
  82. Goto Start
  83.  
  84. :Error
  85. Goto Start
  86.  
  87. :End
  88.